<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>用户详情</title>
    <link rel="stylesheet" href="styles.css">
    <style>
        .page-content { 
            padding: 0; 
            text-align: center; 
            padding-bottom: 20px; 
            margin-top: 40px; /* Space for the header */
        }
        .back-header { 
            background-color: white; 
            padding: 10px 15px; 
            border-bottom: 1px solid #eee; 
            font-weight: 500; 
            display: flex; 
            align-items: center;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 99;
        }
        .back-header a { 
            text-decoration: none; 
            color: #007aff; 
            margin-right: 15px; 
            font-size: 20px;
            line-height: 20px;
        }
        .profile-area {
            padding: 20px;
            background-color: white;
            border-bottom: 1px solid #eee;
        }
        .user-icon {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background-color: #007aff;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 40px;
            margin: 0 auto 10px;
        }
        .action-buttons {
            margin-top: 15px;
            display: flex;
            justify-content: center;
            gap: 15px;
        }
        .action-buttons button {
            padding: 8px 20px;
            border-radius: 20px;
            border: 1px solid #007aff;
            background-color: #007aff;
            color: white;
            cursor: pointer;
            font-size: 14px;
        }
        .action-buttons button:last-child {
            background-color: white;
            color: #007aff;
        }
        .feed-list-tab {
            margin-top: 10px;
            text-align: left;
            padding: 0 15px;
        }
        .feed-item {
            padding: 15px 0;
            border-bottom: 1px solid #eee;
            text-decoration: none;
            color: inherit;
            display: block;
        }
        .feed-item:last-child {
            border-bottom: none;
        }
    </style>
</head>
<body>
    <div class="back-header">
        <a href="javascript:history.back()">&#x2190;</a>
        用户详情
    </div>
    <div class="container">
        <div class="page-content">
            <div class="profile-area">
                <div class="user-icon">👤</div>
                <h2>[用户名]</h2>
                <p style="color: #999;">一句话用户介绍：资深旅行家，喜欢分享小众景点。</p>
                <div class="action-buttons">
                    <button>+ 关注</button>
                    <button>私信</button>
                </div>
            </div>

            <div class="feed-list-tab">
                <h3>TA 的动态 (10)</h3>
                <a href="feed_detail.html" class="feed-item">
                    动态标题：我发现了一个超美的瀑布！
                    <p style="font-size: 12px; color: #999; margin-top: 5px;">2024/05/01 | 120 赞</p>
                </a>
                <a href="feed_detail.html" class="feed-item">
                    动态标题：景区美食测评，这家的烤串绝了。
                    <p style="font-size: 12px; color: #999; margin-top: 5px;">2024/04/28 | 88 赞</p>
                </a>
            </div>
        </div>
    </div>
    <div class="bottom-nav">
        <a href="index.html" class="nav-item">
            <span class="icon">🏠</span>
            <span>首页</span>
        </a>
        <a href="discovery.html" class="nav-item">
            <span class="icon">🔍</span>
            <span>动态</span>
        </a>
        <a href="map.html" class="nav-item">
            <span class="icon">🗺️</span>
            <span>手气不错</span>
        </a>
        <a href="collection_list.html" class="nav-item">
            <span class="icon">📚</span>
            <span>收藏</span>
        </a>
        <a href="profile.html" class="nav-item">
            <span class="icon">👤</span>
            <span>我的</span>
        </a>
    </div>
</body>
</html>